package com.hzjy.api.beans;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hzjy.common.annotation.Excel;
import com.hzjy.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 协议书，合同对象 hzjy_agreement
 *
 * @author hzjy
 * @date 2020-08-26
 */
public class HzjyAgreement extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 协议书ID
     */
    private Long id;

    private Long delistId;

    /**
     * 合同编号
     */
    @Excel(name = "合同编号")
    private String contractNo;

    /**
     * 成交时间
     */
    @Excel(name = "成交时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private String dealTime;

    /**
     * 结束时间
     */
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private String finishTime;


    private Date dealTimeDate;


    private Date finishTimeDate;


    /**
     * 项目类别(project_type或者work_type)
     */
    @Excel(name = "项目类别(project_type或者work_type)")
    private Integer productType;

    /**
     * 作品id
     */
    @Excel(name = "作品id")
    private String productId;

    /**
     * 1:已签合同
     */
    @Excel(name = "1:已签合同")
    private Integer status;

    /**
     * 1：挂牌；2：摘牌
     */
    @Excel(name = "1：挂牌；2：摘牌")
    private Integer type;

    //合同地址
    private String contractUrl;

    private String productName;

    //登录人
    private String userId;

    //E签宝流程ID
    private String flowId;

    //摘牌收货状态  1 显示确认收款按钮 2 显示确认收货按钮
    private Integer pickUpStatus;

    //挂牌方用户
    private String saleUserId;

    //当前登录用户id
    private String nowUserId;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setDealTime(String dealTime) {
        this.dealTime = dealTime;
    }

    public String getDealTime() {
        return dealTime;
    }

    public void setFinishTime(String finishTime) {
        this.finishTime = finishTime;
    }

    public String getFinishTime() {
        return finishTime;
    }

    public void setProductType(Integer productType) {
        this.productType = productType;
    }

    public Integer getProductType() {
        return productType;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getProductId() {
        return productId;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getDelistId() {
        return delistId;
    }

    public void setDelistId(Long delistId) {
        this.delistId = delistId;
    }

    public String getContractUrl() {
        return contractUrl;
    }

    public void setContractUrl(String contractUrl) {
        this.contractUrl = contractUrl;
    }

    public String getFlowId() {
        return flowId;
    }

    public void setFlowId(String flowId) {
        this.flowId = flowId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getPickUpStatus() {
        return pickUpStatus;
    }

    public void setPickUpStatus(Integer pickUpStatus) {
        this.pickUpStatus = pickUpStatus;
    }

    public String getSaleUserId() {
        return saleUserId;
    }

    public void setSaleUserId(String saleUserId) {
        this.saleUserId = saleUserId;
    }

    public String getNowUserId() {
        return nowUserId;
    }

    public void setNowUserId(String nowUserId) {
        this.nowUserId = nowUserId;
    }

    public Date getDealTimeDate() {
        return dealTimeDate;
    }

    public void setDealTimeDate(Date dealTimeDate) {
        this.dealTimeDate = dealTimeDate;
    }

    public Date getFinishTimeDate() {
        return finishTimeDate;
    }

    public void setFinishTimeDate(Date finishTimeDate) {
        this.finishTimeDate = finishTimeDate;
    }
}
